<ui:component xmlns="http://www.w3.org/1999/xhtml"
              xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:composite="http://java.sun.com/jsf/composite" xmlns:h="http://java.sun.com/jsf/html"
              xmlns:p="http://primefaces.org/ui">

    <composite:interface>
        <composite:attribute name="showTimeSlotLocationData" required="true"
                             type="ch.ti.bfh.app.loodel.service.create.ShowTimeSlotLocationData"/>
    </composite:interface>

    <composite:implementation>
        <div id="#{cc.clientId}">
            <p:panelGrid columns="2" id="locationDetailPanel" rendered="#{cc.attrs.detailLocationData != null}">
                <h:outputText value="Name"/>
                <h:outputText value="#{cc.attrs.detailLocationData.name}"/>
                <h:outputText value="Street"/>
                <h:outputText value="#{cc.attrs.detailLocationData.street}"/>
                <h:outputText value="Place"/>
                <h:outputText value=" #{cc.attrs.detailLocationData.place}"/>
                <h:outputText value="Created By"/>
                <h:outputText value="#{cc.attrs.detailLocationData.memberFullName}"/>
                <h:outputText value="Comment"/>
                <h:outputText value="#{cc.attrs.detailLocationData.comment}"/>
            </p:panelGrid>
        </div>
    </composite:implementation>

</ui:component>
